package com.wxzz.elearing.evaluation.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.validation.constraints.NotNull;

/**
 * 草稿箱查询
 */
@Data
public class TopicMongoSelDto {

    @NotNull(message = "请传入type 0-工厂体检 1-星级认证 2-能力测评")
    @ApiModelProperty(value = "0-工厂体检 1-星级认证 2-能力测评",required = true)
    private Integer type;

    @NotNull(message = "请传入commonId")
    @ApiModelProperty(value = "体检/星级/测评id",required = true)
    private Long commonId;
}
